package com.lingyuan.ums.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.lingyuan.common.core.domain.vo.ums.MemberAddressVo;
import com.lingyuan.ums.domain.MemberAddressEntity;

import java.util.List;

public interface MemberAddressService extends IService<MemberAddressEntity> {
    /* *
     * @Title: findMemberByIdAddressList
     * @Author: DELL
     * @Date: 2024-09-21 12:06:39
     * @Params: [userId]
     * @Return: List<MemberAddressVo>
     * @Description: 根据用户id查询会员收货地址
     */
    List<MemberAddressVo> findMemberByIdAddressList(Long userId);

    /* *
     * @Title: findById
     * @Author: DELL
     * @Date: 2024-09-21 12:06:56
     * @Params: [id]
     * @Return: MemberAddressVo
     * @Description: 根据id查询会员收货地址
     */
    MemberAddressVo findById(Long id);
}
